//
//  MainTableViewCell.m
//  Shanghai Cuisine
//
//  Created by iOS Two on 14-9-10.
//  Copyright (c) 2014年 iOS Two. All rights reserved.
//

#import "MainTableViewCell.h"

@implementation MainTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _back1 = [[UIView alloc]initWithFrame:CGRectMake(6.5, 7, 97.5, 112.5)];
        _back1.backgroundColor = [UIColor whiteColor];
        _back1.layer.shadowColor = [UIColor grayColor].CGColor;
        _back1.layer.shadowOffset = CGSizeMake(2, 2);
        _back1.layer.shadowOpacity = 0.5;
        _back1.layer.shadowRadius = 1.0;
        
        _back2 = [[UIView alloc]initWithFrame:CGRectMake(111, 7, 97.5, 112.5)];
        _back2.backgroundColor = [UIColor whiteColor];
        _back2.layer.shadowColor = [UIColor grayColor].CGColor;
        _back2.layer.shadowOffset = CGSizeMake(2, 2);
        _back2.layer.shadowOpacity = 0.5;
        _back2.layer.shadowRadius = 1.0;
        
        _back3 = [[UIView alloc]initWithFrame:CGRectMake(215, 7, 97.5, 112.5)];
        _back3.backgroundColor = [UIColor whiteColor];
        _back3.layer.shadowColor = [UIColor grayColor].CGColor;
        _back3.layer.shadowOffset = CGSizeMake(2, 2);
        _back3.layer.shadowOpacity = 0.5;
        _back3.layer.shadowRadius = 1.0;
        
        _name1 = [[UILabel alloc]initWithFrame:CGRectMake(7, 94, 98, 26)];
        _name1.font = [UIFont systemFontOfSize:15];
        _name1.textAlignment = NSTextAlignmentCenter;
        _name1.textColor = [UIColor colorWithRed:0.53 green:0.43 blue:0.28 alpha:1];
        
        _image1 = [[UIImageView alloc]initWithFrame:CGRectMake(10.5, 13.5, 87, 77)];
        _image1.userInteractionEnabled = YES;
        _image1.layer.shadowColor = [UIColor grayColor].CGColor;
        _image1.layer.shadowOffset = CGSizeMake(2, 2);
        _image1.layer.shadowOpacity = 0.5;
        _image1.layer.shadowRadius = 1.0;
        
        _name2 = [[UILabel alloc]initWithFrame:CGRectMake(111, 94, 98, 26)];
        _name2.font = [UIFont systemFontOfSize:15];
        _name2.textAlignment = NSTextAlignmentCenter;
        _name2.textColor = [UIColor colorWithRed:0.53 green:0.43 blue:0.28 alpha:1];

        _image2 = [[UIImageView alloc]initWithFrame:CGRectMake(116, 13.5, 87, 77)];
        _image2.userInteractionEnabled = YES;
        _image2.layer.shadowColor = [UIColor grayColor].CGColor;
        _image2.layer.shadowOffset = CGSizeMake(2, 2);
        _image2.layer.shadowOpacity = 0.5;
        _image2.layer.shadowRadius = 1.0;
        
        _name3 = [[UILabel alloc]initWithFrame:CGRectMake(215, 94, 98, 26)];
        _name3.font = [UIFont systemFontOfSize:15];
        _name3.textAlignment = NSTextAlignmentCenter;
        _name3.textColor = [UIColor colorWithRed:0.53 green:0.43 blue:0.28 alpha:1];

        _image3 = [[UIImageView alloc]initWithFrame:CGRectMake(221, 13.5, 87, 77)];
        _image3.userInteractionEnabled = YES;
        _image3.layer.shadowColor = [UIColor grayColor].CGColor;
        _image3.layer.shadowOffset = CGSizeMake(2, 2);
        _image3.layer.shadowOpacity = 0.5;
        _image3.layer.shadowRadius = 1.0;
        // Initialization code
    }
    return self;
}
- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
